package campus.service;

import campus.model.Account;
import campus.model.AccountExample;
import campus.model.Proof;
import campus.model.ProofExample;
import campus.util.PageResult;

import java.util.List;

/*
 * @Author: wang
 * @Description:凭证字
 * @Date: 3:39 2020/5/9
 */
public interface ProofService {

    /*
     * @Author: wang
     * @Description:列表
     * @Date: 3:39 2020/5/9
     * @param: example
     * @return: java.util.List<campus.model.Proof>
     */
    List<Proof> selectByExample(ProofExample example);

    /*
     * @Author: wang
     * @Description:添加
     * @Date: 3:40 2020/5/9
     * @param: record
     * @return: int
     */
    int insert(Proof record);

    /*
     * @Author: wang
     * @Description:删除
     * @Date: 3:40 2020/5/9
     * @param: ztId
     * @return: int
     */
    int deleteByPrimaryKey(Integer ztId);

    /*
     * @Author: wang
     * @Description:修改
     * @Date: 3:40 2020/5/9
     * @param: record
     * @return: int
     */
    int updateByPrimaryKeySelective(Proof record);


    /*
     * @Author: wang
     * @Description:查询单个
     * @Date: 3:41 2020/5/9
     * @param: ztId
     * @return: campus.model.Account
     */
    Proof findByPrimaryKey(Integer ztId);
}
